<%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<div id="page-content" class="page-content">
		<div class="panel panel-default oparePanel">

		</div>
		
		<div class="page-content-wrapper">
				<div class="page-content">
					<!--content
					<div class="userIndex">
						<span>用户类型：</span>
						<select class="form-control input-sm dik">
							<option value="">全部</option>
						</select>
						<span class="ml-20">所属部门：</span>
						
						<select class="form-control input-sm dik">
							<option value="">全部</option>
						</select>
						<a href="javascript:;" class="btnSearch">查询</a>
					</div>
					-->
					<div class="numbResult">
						当前在线人数： <span class="col_blue">${result.data.total}人</span>
					</div>
					
					<div class="userList">
						<ul>
							 <c:if test="${result.code eq 'SUCCESS' }">
							       <c:forEach items="${result.data.rows}" var ="row" varStatus="status">
										<li>
											<div class="userCell">
												<a href="javascript:void(0);"><img src="resources/skins/img/img1.jpg"/></a>
												<p><span class="patxt">姓   名</span><em>${row.userName}</em></p>
												<p><span class="patxt">机 构</span><em>${row.corpName}</em></p>
												<p>
												   <c:if test="${userModel.sid ne  row.sessionId}">
												   		<a href="javascript:user.offline('${row.userId}');">踢用户下线</a>
												   </c:if>
												</p>
											</div>
										</li>
								   </c:forEach>
							 </c:if>
						</ul>
					</div>
					
					
					<!--end content-->
					<div class="clearfix"></div>
				</div>
<c:if test="${result.code eq 'SUCCESS' }">

	<script type="text/javascript">
		Page.navigation('page', 'user/online/page', 'log:page',
				'${result.data.pageSize}', '${result.data.total}',
				'${result.data.pageCount}', '${result.data.currPage}',
				'menuUrl');
	</script>

	<div id="page" class="page"></div>

</c:if>
				<div class="clearfix"></div>
			</div>
<div class="clearfix"></div>
</div>